package cn.fl.ref.fncpreabslim.service;

import java.util.List;


import cmm.mid.core.framework.page.Pager;
import cn.cmm.base.framework.exception.BaseException;
import cn.fl.ref.fncpreabslim.vo.FncPreAbsLimVO;
import fl.ref.fncpreabslim.condition.FncPreAbsLimQueryCondition;

/**
 * @Description: 评分模板表 客户端服务层接口
 * 业务层方法名称前缀：
 * 新增：add*
 * 删除：remove*
 * 修改：modify*
 * 批量：batch*
 * 查询对象：select* get*
 * 查询集合：search*
 */
public interface IFncPreAbsLimService {
	
	/**
	 * 获取唯一对象
	 * @param id 主键
	 * @return 对象DTO
	 */
	public FncPreAbsLimVO selectById(Long id)throws BaseException;
	
	/**
	 * 新增
	 * @param entity
	 * @return
	 */
    public Long add(FncPreAbsLimVO entity) throws BaseException;

    /**
     * 删除
     * @param id
     * @return
     */
    public boolean removeById(Long id)throws BaseException;

    /**
     * 修改
     * @param entity
     * @return
     */
    public boolean modify(FncPreAbsLimVO entity)throws BaseException;

    /**
     * 分页查询所有
     * @param page
     * @return
     */
    public Pager searchListPage(Pager page)throws BaseException;
    
    /**
     * 条件查询所有
     * @param condition 
     * @return 集合
     */
    public List<FncPreAbsLimVO> searchList(FncPreAbsLimQueryCondition condition);
    

    

    
}
